#include"string.h"

void test()
{
	bit::string str1("yuh");
	bit::string str2(str1);
	bit::string str3;
	str3 = str2;
	//str3.push_back('z');
	//str3.resize(10,'g');
	str3.append("wasd");
	str3.swap(str2);
	str3.clear();
	str3 += 's';
	str3 += "wasd";
	char c1=str3[0];
	const bit::string str4=str3;
	char c2 = str4[0];
	bool T = str3 < str4;
	T = str3 <= str4;
	T = str3 > str4;
	T = str3 >= str4;
	T = str3 == str4;
	T = str3 != str4;
	int a1 = (int)str4.find('d');
	str3.erase(1,2);
	str3 += "wasd";
	int a2=(int)str4.find("sdw");
	str3.insert(2, '0');
	str3.insert(3, "123");
	std::cout << str3 << std::endl;
	std::cin >> str3;
}
int main(void)
{
	test();
}